package com.kevin.service.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

/**
 * sysmessageto 实体类
 *
 * @author makejava
 * @date 2023-12-08
 */
@TableName(value = "sys_message_to")
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SysMessageTo extends Model<SysMessageTo> {
    /** 关联ID */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 消息ID */
    @TableField("message_id")
    private Long messageId;

    /** 接收者ID */
    @TableField("receiver")
    private Long receiver;

    /** 是否已读  */
    @TableField("readed")
    private Boolean readed;

    /** 阅读时间 */
    @TableField("read_time")
    private Date readTime;

}

